home *** CD-ROM | disk | FTP | other *** search
/ AI Game Programming Wisdom / AIGameProgrammingWisdom.iso / SourceCode / 03 Pathfinding with Astar / 01 Matthews / ase / MainFrm.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-07-02  |  1.0 KB  |  54 lines

  1.  
  2. #ifndef _AFX_ASE_MAINFRM_H_
  3. #define _AFX_ASE_MAINFRM_H_
  4.  
  5. #if _MSC_VER > 1000
  6. #pragma once
  7. #endif
  8.  
  9. class CAseDoc;
  10. class CAseView;
  11. class CNodeView;
  12.  
  13. class CMainFrame : public CFrameWnd
  14. {
  15. protected:
  16.     CMainFrame();
  17.     DECLARE_DYNCREATE(CMainFrame)
  18.  
  19. public:
  20.     //{{AFX_VIRTUAL(CMainFrame)
  21.     public:
  22.     virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
  23.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  24.     //}}AFX_VIRTUAL
  25.  
  26. public:
  27.     virtual ~CMainFrame();
  28.     CAseView* GetRightPane();
  29.     CNodeView *GetLeftPane();
  30.  
  31. #ifdef _DEBUG
  32.     virtual void AssertValid() const;
  33.     virtual void Dump(CDumpContext& dc) const;
  34. #endif
  35.  
  36. protected:
  37.     CStatusBar   m_wndStatusBar;
  38.     CToolBar     m_wndToolBar;
  39.     CReBar       m_wndReBar;
  40.     CDialogBar   m_wndDlgBar;
  41.     CSplitterWnd m_wndSplitter;
  42.  
  43.     CAseDoc        *GetAseDocument();
  44.  
  45.     //{{AFX_MSG(CMainFrame)
  46.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  47.     afx_msg void OnPathingDisplayGoalNode();
  48.     //}}AFX_MSG
  49.     DECLARE_MESSAGE_MAP()
  50. };
  51. //{{AFX_INSERT_LOCATION}}
  52.  
  53. #endif
  54.